<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>vant+vue-router</title>
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.12/lib/index.css" />
    </head>
    <body>
        <div id="app">
            <router-view></router-view>
        </div>
        <!-- 引入 Vue 相关 的 JS 文件 -->
        <script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/vant@2.12/lib/vant.min.js"></script>
        <script src="https://cdn.bootcss.com/vue-router/3.1.3/vue-router.min.js"></script>
        <script src="./js/httpVueLoader.js" type="text/javascript" charset="utf-8"></script>
        <script src="./router.js" type="text/javascript" charset="utf-8"></script>
        <script type="text/javascript">
            Vue.use(httpVueLoader);
            var vue = new Vue({
                router
            }).$mount('#app')
        </script>
    </body>
</html>
